function putToQuery(elem) {
	t = document.forms['queryForm']['query'];
	t.value=elem.firstChild.data;
	
}

function openObject(url) {
	w = window.open(url, 'ObjectDetail', 'width=600px,height=500px,menubar=no,toolbar=no,scrollbars=yes');
}

function trasaction(v) {
	document.forms['transactionForm']['.transaction'].value=v;
	document.forms['transactionForm'].submit();
}




function enableQueryForm(v) {
	document.forms['queryForm']['query'].disabled=!v;
	document.getElementById("submitQueryButton").disabled=!v;	
}